/*
 * File: SOC_AH_data.c
 *
 * Code generated for Simulink model 'SOC_AH'.
 *
 * Model version                  : 1.18
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Thu Sep 10 14:31:28 2020
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: STMicroelectronics->ST10/Super10
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "SOC_AH.h"
#include "SOC_AH_private.h"

/* Constant parameters (auto storage) */
const ConstP_SOC_AH_T SOC_AH_ConstP = {
  /* Expression: [7.38,7.349,7.287,7.273,7.245,7.258,7.284,7.295,7.317]
   * Referenced by: '<S1>/BMS_DchaRate'
   */
  { 7.38, 7.349, 7.287, 7.273, 7.245, 7.258, 7.284, 7.295, 7.317 },

  /* Expression: [7.5,10,15,17.5,22.5,25,30,32.5,37.5]
   * Referenced by: '<S1>/BMS_DchaRate'
   */
  { 7.5, 10.0, 15.0, 17.5, 22.5, 25.0, 30.0, 32.5, 37.5 },

  /* Computed Parameter: BMS_Capacity_tableData
   * Referenced by: '<S1>/BMS_Capacity'
   */
  { 0.0, 0.0, 0.0, 0.0, 0.0, 0.31200000643730164, 0.31873169541358948,
    0.33348780870437622, 0.36300000548362732, 0.37185364961624146,
    0.62699997425079346, 0.6371341347694397, 0.6697317361831665,
    0.72899997234344482, 0.74974387884140015, 1.2569999694824219,
    1.2742682695388794, 1.3365000486373901, 1.4579999446868896,
    1.4994877576828003, 1.8839999437332153, 1.9143658876419067,
    2.0062317848205566, 2.187000036239624, 2.2462682723999023,
    2.5139999389648438, 2.5515000820159912, 2.6730000972747803,
    2.9159998893737793, 2.9960122108459473, 3.1410000324249268,
    3.1886341571807861, 3.3427317142486572, 3.6449999809265137,
    3.7457561492919922, 3.7679998874664307, 3.8231441974639893,
    4.0067501068115234, 4.370999813079834, 4.4924168586730957,
    4.3949999809265137, 4.4602785110473633, 4.676480770111084,
    5.0999999046325684, 5.2421603202819824, 5.0250000953674316,
    5.0974130630493164, 5.3462119102478027, 5.8289999961853027,
    5.9919037818908691, 5.625, 5.7375092506408691, 6.0129809379577637,
    6.5580000877380371, 6.7386856079101562, 5.9670000076293945,
    6.0559077262878418, 6.3492221832275391, 6.9239997863769531,
    7.1165800094604492, 6.2789998054504395, 6.3739895820617676,
    6.6814045906066895, 7.2870001792907715, 7.4891047477722168 },

  /* Computed Parameter: BMS_Capacity_bp01Data
   * Referenced by: '<S1>/BMS_Capacity'
   */
  { -20.0, -10.0, 0.0, 25.0, 45.0 },

  /* Computed Parameter: BMS_Capacity_bp02Data
   * Referenced by: '<S1>/BMS_Capacity'
   */
  { 0.0, 5.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 95.0, 100.0
  },

  /* Expression: [0,0.7,6.2,11.7,17.3,22.8,28.3,33.8,39.3,44.8,50.3,55.9,61.4,66.9,72.4,77.9,83.4,89,94.5,100]
   * Referenced by: '<S2>/SOC_Corr_OCV'
   */
  { 0.0, 0.7, 6.2, 11.7, 17.3, 22.8, 28.3, 33.8, 39.3, 44.8, 50.3, 55.9, 61.4,
    66.9, 72.4, 77.9, 83.4, 89.0, 94.5, 100.0 },

  /* Expression: [3242,3267,3391,3463,3507,3558,3602,3637,3666,3704,3749,3803,3869,3910,3951,4000,4050,4083,4110,4179]
   * Referenced by: '<S2>/SOC_Corr_OCV'
   */
  { 3242.0, 3267.0, 3391.0, 3463.0, 3507.0, 3558.0, 3602.0, 3637.0, 3666.0,
    3704.0, 3749.0, 3803.0, 3869.0, 3910.0, 3951.0, 4000.0, 4050.0, 4083.0,
    4110.0, 4179.0 },

  /* Computed Parameter: BMS_Capacity_maxIndex
   * Referenced by: '<S1>/BMS_Capacity'
   */
  { 4U, 12U }
};

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
